STEP 13: Let's finish up our program and have our sprite say the discounted price.

  • In GRAPHICS, click on and drag in Say.
  • Change the string inside the .say() to this: "After the sale, it was $" + sale_string.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)